home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Persistent Floating Windo.4 < prev    next >
Encoding:
Internet Message Format  |  1996-07-03  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Persistent Floating Windows
  2. Sent:        7/2/96 5:17 PM
  3. Received:    7/2/96 5:31 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >If this is the ONLY way to keep a floating window open while using 
  9. >another part, then where do I get a chance to create the floating window 
  10. >for the part's main presentation and frame?
  11. >
  12. >My part is already embedded, and I want its main frame and presentation 
  13. >to belong in a floating window.
  14. >
  15. >Below are two places I tried:
  16. >
  17. >1) "View in Window" - My part does not receive this menu event, only from 
  18. >my own menus.  If I can get this event from my part, I might call "new 
  19. >FW_CFloatingWindow()"
  20. >
  21. >2) CPart::MakeDocumentWindow() - only works if you open a part's 
  22. >stationery or wish to open the part in a new document window.
  23. >
  24. >Any ideas would be appreciated.  Thanks!
  25.  
  26. Try to do that in FrameAdded. ODF creates non-persistent frame for 
  27. Floating windows so you may have to recreate the floating window and 
  28. frame everytime the document is opened. 
  29.  
  30. ........................................................................
  31.  Henri Lamiraux                                      lamiraux@apple.com
  32.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  33. ........................................................................
  34.  
  35.